<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of MenuDao
 *
 * @author krisada.thiangtham
 */
interface MenuDao {

    //put your code here
    function createNewMenu($menuTO);

    function getAllMenu();

    function getAllMenuLevelOneByMainMenuID($mainMenuID);

    function getAllMenuLevelTwoByMainMenuID($mainMenuID);

    function updateMenu($menuTO);

    function deleteMenu($menuID);

    function createNewMenuLevel1($menuTO);

    function updateMenuLevel1($menuTO);

    function deleteMenuLevel1($menuID);

    function createNewMenuLevel2($menuTO);

    function updateMenuLevel2($menuTO);

    function deleteMenuLevel2($menuID);
}
